package com.etung.iot.demo.vo.req;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel(value = "变量控制请求")
public class VariantControl {
    @ApiModelProperty(required = true,notes = "IMEI")
    private String imei;
    @ApiModelProperty(required = true,notes = "变量ID")
    private Integer varId;
    @ApiModelProperty(required = true,notes = "写入值")
    private String varValue;
    @ApiModelProperty(required = true,notes = "变量名称")
    private String varName;
    @ApiModelProperty(required = true,notes = "变量数据类型")
    private String varDataType;

    @Override
    public String toString() {
        return "VariantControl{" +
                "imei='" + imei + '\'' +
                ", varId=" + varId +
                ", varValue='" + varValue + '\'' +
                ", varName='" + varName + '\'' +
                '}';
    }
}
